/*
* intf_tmf_measure.h
*/

#ifndef _INTF_TMF_MEASURE_H_
#define _INTF_TMF_MEASURE_H_

typedef void (*TMF_MSR_NOTIFY_CB)(float tmpr, time_t time);

enum TMF_MSR_MODE {

	TMF_MEASURE_MODE_PASSIVE = 0,
	TMF_MEASURE_MODE_AUTO
};

int tmf_msr_init(int argc, char * argv [ ]);
int tmf_msr_get_tmpr(float * tmpr, time_t * tm);
int tmf_msr_set_mode(enum TMF_MSR_MODE mode, unsigned int interval);
int tmf_msr_get_mode(enum TMF_MSR_MODE * mode);
int tmf_msr_set_notify_callback(TMF_MSR_NOTIFY_CB tmf_msr_notify_cb);
int tmf_msr_deinit(void);

#endif
